package com.starlink.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("书籍信息响应模型")
public class MallBooksVO extends BaseVO implements Serializable {
    @ApiModelProperty("运费模板ID")
    private Long freeTemplateId;
    @ApiModelProperty("RAS商品ID")
    private Long rasGoodsId;
    @ApiModelProperty("书名")
    private String title;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("ISBN编码")
    private String isbnNum;
    @ApiModelProperty("出版社")
    private String publishingHouse;
    @ApiModelProperty("书籍封面")
    private String picture;
    @ApiModelProperty("是否上架 0否 1是")
    private Integer onTheShelf;
    @ApiModelProperty("排序")
    private Long sortOrder;

    @ApiModelProperty("简介")
    private String description;
    @ApiModelProperty("规格信息")
    private List<MallBooksSpecificationVO> mallBooksSpecificationVOS;
    @ApiModelProperty("所属分类")
    private String categoryName;
    @ApiModelProperty("分类ID")
    private List<Long> mallCategoryIds;
    @ApiModelProperty("分类名称")
    private List<String> mallCategoryNames;
}
